package com.apr.service;

import com.apr.mapper.TestMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class TestService {

    private static final Logger LOGGER = LoggerFactory.getLogger(TestService.class);
    private final TestMapper mapper;

    public TestService(TestMapper mapper) {
        this.mapper = mapper;
    }

    public void select() {
        LOGGER.info("{}", mapper.select());
    }
}
